package com.shenmazong.user.service;

import com.shenmazong.user.pojo.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazong.utils.ResultResponse;
import com.shenmazong.vo.IdVo;
import com.shenmazong.vo.LoginUserInfoVo;
import com.shenmazong.vo.PageInfoVo;

/**
 *
 */
public interface TbUserService extends IService<TbUser> {

    ResultResponse add(TbUser user);

    ResultResponse del(IdVo idVo);

    ResultResponse set(TbUser user);

    ResultResponse getUserById(IdVo idVo);

    ResultResponse getUserByPage(PageInfoVo pageInfoVo);

    ResultResponse loginByUserName(LoginUserInfoVo loginUserInfoVo);
}
